package mapper.imp;

import entity.Per;
import entity.Rol;
import entity.User;

import java.util.List;

public interface RolImp {
    public int insert(Rol rol);
    public int delete(int id);
    public int update(Rol rol);
    //查询该角色对应的用户
    public List<User> selectrol(String role);
    //查询该角色对应的权限
    public List<Per> selectper(String role);
}
